package com.bjpowernode.shop.service.impl;

import com.bjpowernode.shop.domain.PayVo;
import com.bjpowernode.shop.service.PayVoService;
import com.bjpowernode.shop.utils.PayUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PayVoServiceImpl implements PayVoService {
    
    @Autowired
    private PayUtils payUtils;

    @Override
    public String trade(PayVo payVo) {
       return payUtils.tradePreCreate(payVo.getOrderNumber());
    }
}
